#include <FileMatch.h>

using namespace analyzer;

FileMatch::FileMatch(void) {
	
	this -> matched = false;
	this -> fileType = UNKNOWN_FILE;
}

FileMatch::FileMatch(bool matched, FileType fileType)
{
	this -> matched = matched;
	this -> fileType = fileType;
}

FileMatch::~FileMatch(void)
{
	// empty destructor
}

bool FileMatch::isMatched() const {

	return matched;
}

FileType FileMatch::getFileType() const {

	return fileType;
}

FileMatch::operator bool() const {

	return isMatched();
}
